import { getUserInfo, getUserPermissions } from '../common/js/cache'

const state = {
  // 是否打开侧栏(默认开启)
  isCollapse: false,
  // 用户信息
  userInfo: getUserInfo(),
  // 用户权限信息
  userPermissions: getUserPermissions()
}

export default state
